<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:jsflot="http://www.jsflot.org/taglib/jsflot">


    <f:view locale="#{facesContext.viewRoot.locale}">
        <head>
            <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
            <link href="css/style.css" rel="stylesheet" type="text/css"/>
            <jsflot:resources />
            <title>ProSale</title>
        </head>
        <body>
            <a4j:outputPanel layout="block" style="#{frontendManager.mainWindowStyle}">
                <center>
                    <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td class="outer-side-panel">&nbsp;</td>
                            <td class="inner-left-side-panel">&nbsp;</td>
                            <td class="center-panel">
                                <table cellpadding="0" cellspacing="0" border="0">
                                    <tr>
                                        <td class="outer-top-panel-1">&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="inner-top-panel">&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a4j:outputPanel>
                                                    <rich:panel styleClass="main-panel">
                                                        <a4j:outputPanel layout="block" style="width:#{frontendManager.mainPanelWidth}; overflow:auto">
                                                            <ui:insert name="content"></ui:insert>
                                                        </a4j:outputPanel>
                                                    </rich:panel>
                                            </a4j:outputPanel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="inner-bottom-panel">&nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td class="outer-bottom-panel-1">&nbsp;</td>
                                    </tr>
                                </table>
                            </td>
                            <td class="inner-right-side-panel">&nbsp;</td>
                            <td class="outer-side-panel">&nbsp;</td>
                        </tr>
                    </table>
                </center>
            </a4j:outputPanel>
        </body>
    </f:view>
</html>
